<form method="POST" action="{{url('auth/register')}}">
{!! csrf_field() !!}
<div>
用户名:<input type="text" name="name" value="{{ old('name') }}">
</div>
<div>
Email:<input type="email" name="email" value="{{ old('email') }}">
</div>
<div>
手机:<input type="text" name="mobile">
</div>
<div>
密码:<input type="password" name="password">
</div>
<div>
确认密码:<input type="password" name="password_confirmation">
</div>
<!--注意,确认密码必须叫password_confirmation,才能自动验证-->
<div>
<button type="submit">注册</button>
</div>
</form>